--[[被动2--时间（减时间]]

---@class BuffEffect4205101 : BaseBuffEffect
BuffEffect4205101 = ClientFight.CreateClass("BuffEffect4205101", ClientFight.BaseBuffEffect)
local t = BuffEffect4205101

---@param fight Fight
---@param buff FighterBuff
function t:action(fight, buff, ...)
    local parameters = {...};
 local subFrame = buff.buffBean.f_BuffEffectValue[1] / Global.FIGHT_FRAME;

 local fighter = buff.target;
 local summonsExpireFrame = fighter.summonsExpireFrame;
 if (summonsExpireFrame > 0) then
  fighter.setSummonsExpireFrame(math.max(summonsExpireFrame - subFrame, 0));
 end
    return ClientFight.BaseBuffEffect.action(self, fight, buff, ...);
end

t.New()